package ua.cs.stu.ics.dbf.readers;

import ua.cs.stu.ics.dao.dbf.MarkNewDAO;
import ua.cs.stu.ics.dbf.domain.MarkNewDomain;

/**
 * Created by IntelliJ IDEA.
 * User: Admin
 * Date: 26.02.11
 * Time: 16:20
 * To change this template use File | Settings | File Templates.
 */
public class MarkNewReader extends DBFAbstractReader<MarkNewDomain>  {
    private MarkNewDAO dao;

    @Override
    protected void add(MarkNewDomain d) {
        dao.add(d);
    }

    @Override
    protected MarkNewDomain createDomain() {
        return new MarkNewDomain();
    }

    public void setDao(MarkNewDAO dao) {
        this.dao = dao;
    }
}
